[cxx-interop] Add support for benchmarks with C++ interop.#32721
[cxx-interop] Add support for benchmarks with C++ interop.#32721zoecarver merged 1 commit intoswiftlang:mainfrom
Conversation
MForster
left a comment
There was a problem hiding this comment.
This seems to contain a lot of unrelated changes...
Yes, this PR is based on #32715 so all the changes from that PR are here too (just so it compiles). |
4e31904 to
0a88a45
Compare
MForster
left a comment
There was a problem hiding this comment.
(after the base pull request has been merged)
|
@MForster sounds good. Thanks! |
gribozavr
left a comment
There was a problem hiding this comment.
@zoecarver This PR is adding benchmark/.swiftpm/xcode/package.xcworkspace/xcuserdata/zoe.xcuserdatad/UserInterfaceState.xcuserstate, I think that's not intentional.
lib/IRGen/IRGenSIL.cpp
Outdated
There was a problem hiding this comment.
Is there a separate PR for these changes to the compiler?
There was a problem hiding this comment.
No, there's not. I'll make one.
Oops, you're right. Xcode adds that when I open the |
0a88a45 to
059c6b0
Compare
059c6b0 to
df25b96
Compare
|
LGTM! Please rebase and merge after #32815 goes in. |
d488500 to
2e389d6
Compare
|
@swift-ci please test and merge |
|
@swift-ci please smoke test and merge |
1 similar comment
|
@swift-ci please smoke test and merge |
|
@swift-ci please test Linux platform. |
|
@swift-ci please test Linux platform |
|
@swift-ci please benchmark |
|
@swift-ci please test windows platform. |
|
@swift-ci please benchmark |
|
@swift-ci please benchmark. |
|
@swift-ci please benchmark |
1 similar comment
|
@swift-ci please benchmark |
|
Build failed |
Performance: -O
Code size: -OPerformance: -Osize
Code size: -OsizePerformance: -Onone
Code size: -swiftlibs
How to read the dataThe tables contain differences in performance which are larger than 8% and differences in code size which are larger than 1%.If you see any unexpected regressions, you should consider fixing the Noise: Sometimes the performance results (not code size!) contain false Hardware Overview |
28ee166 to
f79f5be
Compare
|
@swift-ci please benchmark |
|
@swift-ci please smoke test |
Performance: -O
Code size: -OPerformance: -Osize
Code size: -OsizePerformance: -Onone
Code size: -swiftlibs
How to read the dataThe tables contain differences in performance which are larger than 8% and differences in code size which are larger than 1%.If you see any unexpected regressions, you should consider fixing the Noise: Sometimes the performance results (not code size!) contain false Hardware Overview |
There was a problem hiding this comment.
I assume this benchmark is just there to validate that C++ support is compiling fine.
I think it makes sense to disable this benchmark from the regular run, because it's not doing anything interesting.
Can you add the ".skip" benchmark tag?
There was a problem hiding this comment.
Actually, I'd like to test the performance of creating C++ objects. For example, I expect that this will be much slower after #30630 (when we actually have to call the constructor instead of just allocating an empty object).
f79f5be to
c1235c2
Compare
|
@swift-ci please smoke test Linux platform. |
|
@swift-ci please smoke test Linux platform |
c1235c2 to
19b875a
Compare
|
@swift-ci please smoke test Linux platform |
1 similar comment
|
@swift-ci please smoke test Linux platform |
|
The build failure appears to be unrelated. |
|
@swift-ci please smoke test Linux platform. |
* Adds support for benchmarks that use C++ modules. * Adds "CreateObjects" benchmark that creates C++ objects.
19b875a to
01b12cf
Compare
|
@swift-ci please smoke test Linux platform. |
|
Failed because of an unrelated issue. @swift-ci please smoke test Linux platform. |
|
swiftlang/swift-corelibs-foundation#2895 |
|
@swift-ci please test. |
1 similar comment
|
@swift-ci please test. |
Based on #32715.